package com.zhiche.lisa.lspm.dao.mapper.sys;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zhiche.lisa.lspm.dao.model.sys.Permission;
import com.zhiche.lisa.lspm.dao.model.sys.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liuanshun
 * @since 2018-09-28
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Permission> selectOwnBottomPermission(@Param("roleId") Integer roleId);

}
